<?php
class Home extends CI_Controller 
{
	function __construct()
	{
		parent::__construct();
		if((!check_auth()) ? redirect("/login/auth") : site_url("/home"));
		$this->load->model('home_model');
	}
	
	function index()
	{
		$this->load->view('header');
		$this->load->view('home');
		$this->load->view('footer');
	}
}
?>